package com.liu.activiti.service;

import com.liu.activiti.pojo.activiti.ActReDeploymentConfig;

import java.util.List;

public interface ActReDeploymentConfigService {


    /**
     * 查询所有记录
     *
     * @return 返回集合，没有返回空List
     */
    public List<ActReDeploymentConfig> listAll(ActReDeploymentConfig actReDeploymentConfig);


    /**
     * 根据主键查询
     *
     * @param id 主键
     * @return 返回记录，没有返回null
     */
    public ActReDeploymentConfig getById(Integer id);

    /**
     * 新增，插入所有字段
     *
     * @param actReDeploymentConfig 新增的记录
     * @return 返回影响行数
     */
    public int insert(ActReDeploymentConfig actReDeploymentConfig);

    /**
     * 新增，忽略null字段
     *
     * @param actReDeploymentConfig 新增的记录
     * @return 返回影响行数
     */
    public int insertIgnoreNull(ActReDeploymentConfig actReDeploymentConfig);

    /**
     * 修改，修改所有字段
     *
     * @param actReDeploymentConfig 修改的记录
     * @return 返回影响行数
     */
    public int update(ActReDeploymentConfig actReDeploymentConfig);

    /**
     * 修改，忽略null字段
     *
     * @param actReDeploymentConfig 修改的记录
     * @return 返回影响行数
     */
    public int updateIgnoreNull(ActReDeploymentConfig actReDeploymentConfig);

    /**
     * 删除记录
     *
     * @param actReDeploymentConfig 待删除的记录
     * @return 返回影响行数
     */
    public int delete(ActReDeploymentConfig actReDeploymentConfig);

}
